import {
  HAS_LOGIN,
  USER_INFO
} from './mutation-types'

export default {
  [HAS_LOGIN] (state, loginInfo) {
    state.hasLogin = loginInfo
  },
  [USER_INFO] (state, userInfos) {
    state.userInfo = userInfos
  }
}